package com.niii.message.pojo;

import java.util.List;

public class Msg {
    private String sender;
    private List<String> receiver;
    private String title;
    private String body;

    public Msg() {
    }

    public Msg(String sender, List<String> receiver, String title, String body) {
        this.sender = sender;
        this.receiver = receiver;
        this.title = title;
        this.body = body;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public List<String> getReceiver() {
        return receiver;
    }

    public void setReceiver(List<String> receiver) {
        this.receiver = receiver;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    @Override
    public String toString() {
        return "{" +
                "'sender'='" + sender + '\'' +
                ", 'receiver'=" + receiver +
                ", 'title'='" + title + '\'' +
                ", 'body'='" + body + '\'' +
                '}';
    }
}
